package com.hskn.hss.utils.redis.key;

import com.hskn.hss.utils.StringUtils;
import com.hskn.hss.utils.redis.BasePrefix;

/**
 * 随机日期
 */
public class RandomDateToday extends BasePrefix {

    public static final int TOKEN_EXPIRE = StringUtils.getSecondsNextEarlyMorning().intValue();

    public static final String RANDOM_DATE_TODAY_PREFIX = "RANDOM_DATE_TODAY_";

    private RandomDateToday(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static RandomDateToday token = new RandomDateToday(TOKEN_EXPIRE, RANDOM_DATE_TODAY_PREFIX);
}
